home *** CD-ROM | disk | FTP | other *** search
/ Kit PC World De Ampliacion De Windows 95 / Kit PC World de ampliacion de Windows 95.iso / internet / sweeper / include / docobj.h < prev    next >
C/C++ Source or Header  |  1995-12-04  |  48KB  |  1,602 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 2.00.0102 */
  5. /* at Mon Dec 04 18:29:03 1995
  6.  */
  7. //@@MIDL_FILE_HEADING(  )
  8. #include "rpc.h"
  9. #include "rpcndr.h"
  10. #ifndef COM_NO_WINDOWS_H
  11. #include "windows.h"
  12. #include "ole2.h"
  13. #endif /*COM_NO_WINDOWS_H*/
  14.  
  15. #ifndef __docobj_h__
  16. #define __docobj_h__
  17.  
  18. #ifdef __cplusplus
  19. extern "C"{
  20. #endif 
  21.  
  22. /* Forward Declarations */ 
  23.  
  24. #ifndef __IOleDocument_FWD_DEFINED__
  25. #define __IOleDocument_FWD_DEFINED__
  26. typedef interface IOleDocument IOleDocument;
  27. #endif     /* __IOleDocument_FWD_DEFINED__ */
  28.  
  29.  
  30. #ifndef __IOleDocumentSite_FWD_DEFINED__
  31. #define __IOleDocumentSite_FWD_DEFINED__
  32. typedef interface IOleDocumentSite IOleDocumentSite;
  33. #endif     /* __IOleDocumentSite_FWD_DEFINED__ */
  34.  
  35.  
  36. #ifndef __IOleDocumentView_FWD_DEFINED__
  37. #define __IOleDocumentView_FWD_DEFINED__
  38. typedef interface IOleDocumentView IOleDocumentView;
  39. #endif     /* __IOleDocumentView_FWD_DEFINED__ */
  40.  
  41.  
  42. #ifndef __IEnumOleDocumentViews_FWD_DEFINED__
  43. #define __IEnumOleDocumentViews_FWD_DEFINED__
  44. typedef interface IEnumOleDocumentViews IEnumOleDocumentViews;
  45. #endif     /* __IEnumOleDocumentViews_FWD_DEFINED__ */
  46.  
  47.  
  48. #ifndef __IContinueCallback_FWD_DEFINED__
  49. #define __IContinueCallback_FWD_DEFINED__
  50. typedef interface IContinueCallback IContinueCallback;
  51. #endif     /* __IContinueCallback_FWD_DEFINED__ */
  52.  
  53.  
  54. #ifndef __IPrint_FWD_DEFINED__
  55. #define __IPrint_FWD_DEFINED__
  56. typedef interface IPrint IPrint;
  57. #endif     /* __IPrint_FWD_DEFINED__ */
  58.  
  59.  
  60. #ifndef __IOleCommandTarget_FWD_DEFINED__
  61. #define __IOleCommandTarget_FWD_DEFINED__
  62. typedef interface IOleCommandTarget IOleCommandTarget;
  63. #endif     /* __IOleCommandTarget_FWD_DEFINED__ */
  64.  
  65.  
  66. /* header files for imported files */
  67. #include "objidl.h"
  68. #include "oleidl.h"
  69. #include "oaidl.h"
  70.  
  71. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  72. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  73.  
  74. /****************************************
  75.  * Generated header for interface: __MIDL__intf_0000
  76.  * at Mon Dec 04 18:29:03 1995
  77.  * using MIDL 2.00.0102
  78.  ****************************************/
  79. /* [local] */ 
  80.  
  81.  
  82. //+-------------------------------------------------------------------------
  83. //
  84. //  Microsoft Windows
  85. //  Copyright 1995-1996 Microsoft Corporation. All Rights Reserved.
  86. //
  87. //  File: docobj.h
  88. //
  89. //--------------------------------------------------------------------------
  90.             /* size is 0 */
  91.  
  92.             /* size is 0 */
  93.  
  94.             /* size is 0 */
  95.  
  96.             /* size is 0 */
  97.  
  98.             /* size is 0 */
  99.  
  100.             /* size is 0 */
  101.  
  102.             /* size is 0 */
  103.  
  104.  
  105. ////////////////////////////////////////////////////////////////////////////
  106. //  Interface Definitions
  107. #ifndef _LPOLEDOCUMENT_DEFINED
  108. #define _LPOLEDOCUMENT_DEFINED
  109.  
  110.  
  111. extern RPC_IF_HANDLE __MIDL__intf_0000_v0_0_c_ifspec;
  112. extern RPC_IF_HANDLE __MIDL__intf_0000_v0_0_s_ifspec;
  113.  
  114. #ifndef __IOleDocument_INTERFACE_DEFINED__
  115. #define __IOleDocument_INTERFACE_DEFINED__
  116.  
  117. /****************************************
  118.  * Generated header for interface: IOleDocument
  119.  * at Mon Dec 04 18:29:03 1995
  120.  * using MIDL 2.00.0102
  121.  ****************************************/
  122. /* [unique][uuid][object] */ 
  123.  
  124.  
  125.             /* size is 4 */
  126. typedef /* [unique] */ IOleDocument __RPC_FAR *LPOLEDOCUMENT;
  127.  
  128.             /* size is 4 */
  129. typedef 
  130. enum __MIDL_IOleDocument_0001
  131.     {    DOCMISC_CANCREATEMULTIPLEVIEWS    = 1,
  132.     DOCMISC_SUPPORTCOMPLEXRECTANGLES    = 2,
  133.     DOCMISC_CANTOPENEDIT    = 4,
  134.     DOCMISC_NOFILESUPPORT    = 8
  135.     }    DOCMISC;
  136.  
  137.  
  138. EXTERN_C const IID IID_IOleDocument;
  139.  
  140. #if defined(__cplusplus) && !defined(CINTERFACE)
  141.     
  142.     interface IOleDocument : public IUnknown
  143.     {
  144.     public:
  145.         virtual HRESULT __stdcall CreateView( 
  146.             /* [unique][in] */ IOleInPlaceSite __RPC_FAR *pIPSite,
  147.             /* [unique][in] */ IStream __RPC_FAR *pstm,
  148.             /* [in] */ DWORD dwReserved,
  149.             /* [out] */ IOleDocumentView __RPC_FAR *__RPC_FAR *ppView) = 0;
  150.         
  151.         virtual HRESULT __stdcall GetDocMiscStatus( 
  152.             /* [out] */ DWORD __RPC_FAR *pdwStatus) = 0;
  153.         
  154.         virtual HRESULT __stdcall EnumViews( 
  155.             /* [out] */ IEnumOleDocumentViews __RPC_FAR *__RPC_FAR *ppEnum,
  156.             /* [out] */ IOleDocumentView __RPC_FAR *__RPC_FAR *ppView) = 0;
  157.         
  158.     };
  159.     
  160. #else     /* C style interface */
  161.  
  162.     typedef struct IOleDocumentVtbl
  163.     {
  164.         
  165.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  166.             IOleDocument __RPC_FAR * This,
  167.             /* [in] */ REFIID riid,
  168.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  169.         
  170.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  171.             IOleDocument __RPC_FAR * This);
  172.         
  173.         ULONG ( __stdcall __RPC_FAR *Release )( 
  174.             IOleDocument __RPC_FAR * This);
  175.         
  176.         HRESULT ( __stdcall __RPC_FAR *CreateView )( 
  177.             IOleDocument __RPC_FAR * This,
  178.             /* [unique][in] */ IOleInPlaceSite __RPC_FAR *pIPSite,
  179.             /* [unique][in] */ IStream __RPC_FAR *pstm,
  180.             /* [in] */ DWORD dwReserved,
  181.             /* [out] */ IOleDocumentView __RPC_FAR *__RPC_FAR *ppView);
  182.         
  183.         HRESULT ( __stdcall __RPC_FAR *GetDocMiscStatus )( 
  184.             IOleDocument __RPC_FAR * This,
  185.             /* [out] */ DWORD __RPC_FAR *pdwStatus);
  186.         
  187.         HRESULT ( __stdcall __RPC_FAR *EnumViews )( 
  188.             IOleDocument __RPC_FAR * This,
  189.             /* [out] */ IEnumOleDocumentViews __RPC_FAR *__RPC_FAR *ppEnum,
  190.             /* [out] */ IOleDocumentView __RPC_FAR *__RPC_FAR *ppView);
  191.         
  192.     } IOleDocumentVtbl;
  193.  
  194.     interface IOleDocument
  195.     {
  196.         CONST_VTBL struct IOleDocumentVtbl __RPC_FAR *lpVtbl;
  197.     };
  198.  
  199.     
  200.  
  201. #ifdef COBJMACROS
  202.  
  203.  
  204. #define IOleDocument_QueryInterface(This,riid,ppvObject)    \
  205.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  206.  
  207. #define IOleDocument_AddRef(This)    \
  208.     (This)->lpVtbl -> AddRef(This)
  209.  
  210. #define IOleDocument_Release(This)    \
  211.     (This)->lpVtbl -> Release(This)
  212.  
  213.  
  214. #define IOleDocument_CreateView(This,pIPSite,pstm,dwReserved,ppView)    \
  215.     (This)->lpVtbl -> CreateView(This,pIPSite,pstm,dwReserved,ppView)
  216.  
  217. #define IOleDocument_GetDocMiscStatus(This,pdwStatus)    \
  218.     (This)->lpVtbl -> GetDocMiscStatus(This,pdwStatus)
  219.  
  220. #define IOleDocument_EnumViews(This,ppEnum,ppView)    \
  221.     (This)->lpVtbl -> EnumViews(This,ppEnum,ppView)
  222.  
  223. #endif /* COBJMACROS */
  224.  
  225.  
  226. #endif     /* C style interface */
  227.  
  228.  
  229.  
  230. HRESULT __stdcall IOleDocument_CreateView_Proxy( 
  231.     IOleDocument __RPC_FAR * This,
  232.     /* [unique][in] */ IOleInPlaceSite __RPC_FAR *pIPSite,
  233.     /* [unique][in] */ IStream __RPC_FAR *pstm,
  234.     /* [in] */ DWORD dwReserved,
  235.     /* [out] */ IOleDocumentView __RPC_FAR *__RPC_FAR *ppView);
  236.  
  237.  
  238. void __RPC_STUB IOleDocument_CreateView_Stub(
  239.     IRpcStubBuffer *This,
  240.     IRpcChannelBuffer *_pRpcChannelBuffer,
  241.     PRPC_MESSAGE _pRpcMessage,
  242.     DWORD *_pdwStubPhase);
  243.  
  244.  
  245. HRESULT __stdcall IOleDocument_GetDocMiscStatus_Proxy( 
  246.     IOleDocument __RPC_FAR * This,
  247.     /* [out] */ DWORD __RPC_FAR *pdwStatus);
  248.  
  249.  
  250. void __RPC_STUB IOleDocument_GetDocMiscStatus_Stub(
  251.     IRpcStubBuffer *This,
  252.     IRpcChannelBuffer *_pRpcChannelBuffer,
  253.     PRPC_MESSAGE _pRpcMessage,
  254.     DWORD *_pdwStubPhase);
  255.  
  256.  
  257. HRESULT __stdcall IOleDocument_EnumViews_Proxy( 
  258.     IOleDocument __RPC_FAR * This,
  259.     /* [out] */ IEnumOleDocumentViews __RPC_FAR *__RPC_FAR *ppEnum,
  260.     /* [out] */ IOleDocumentView __RPC_FAR *__RPC_FAR *ppView);
  261.  
  262.  
  263. void __RPC_STUB IOleDocument_EnumViews_Stub(
  264.     IRpcStubBuffer *This,
  265.     IRpcChannelBuffer *_pRpcChannelBuffer,
  266.     PRPC_MESSAGE _pRpcMessage,
  267.     DWORD *_pdwStubPhase);
  268.  
  269.  
  270.  
  271. #endif     /* __IOleDocument_INTERFACE_DEFINED__ */
  272.  
  273.  
  274. /****************************************
  275.  * Generated header for interface: __MIDL__intf_0077
  276.  * at Mon Dec 04 18:29:03 1995
  277.  * using MIDL 2.00.0102
  278.  ****************************************/
  279. /* [local] */ 
  280.  
  281.  
  282. #endif
  283. #ifndef _LPOLEDOCUMENTSITE_DEFINED
  284. #define _LPOLEDOCUMENTSITE_DEFINED
  285.  
  286.  
  287. extern RPC_IF_HANDLE __MIDL__intf_0077_v0_0_c_ifspec;
  288. extern RPC_IF_HANDLE __MIDL__intf_0077_v0_0_s_ifspec;
  289.  
  290. #ifndef __IOleDocumentSite_INTERFACE_DEFINED__
  291. #define __IOleDocumentSite_INTERFACE_DEFINED__
  292.  
  293. /****************************************
  294.  * Generated header for interface: IOleDocumentSite
  295.  * at Mon Dec 04 18:29:03 1995
  296.  * using MIDL 2.00.0102
  297.  ****************************************/
  298. /* [unique][uuid][object] */ 
  299.  
  300.  
  301.             /* size is 4 */
  302. typedef /* [unique] */ IOleDocumentSite __RPC_FAR *LPOLEDOCUMENTSITE;
  303.  
  304.  
  305. EXTERN_C const IID IID_IOleDocumentSite;
  306.  
  307. #if defined(__cplusplus) && !defined(CINTERFACE)
  308.     
  309.     interface IOleDocumentSite : public IUnknown
  310.     {
  311.     public:
  312.         virtual HRESULT __stdcall ActivateMe( 
  313.             /* [in] */ IOleDocumentView __RPC_FAR *pViewToActivate) = 0;
  314.         
  315.     };
  316.     
  317. #else     /* C style interface */
  318.  
  319.     typedef struct IOleDocumentSiteVtbl
  320.     {
  321.         
  322.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  323.             IOleDocumentSite __RPC_FAR * This,
  324.             /* [in] */ REFIID riid,
  325.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  326.         
  327.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  328.             IOleDocumentSite __RPC_FAR * This);
  329.         
  330.         ULONG ( __stdcall __RPC_FAR *Release )( 
  331.             IOleDocumentSite __RPC_FAR * This);
  332.         
  333.         HRESULT ( __stdcall __RPC_FAR *ActivateMe )( 
  334.             IOleDocumentSite __RPC_FAR * This,
  335.             /* [in] */ IOleDocumentView __RPC_FAR *pViewToActivate);
  336.         
  337.     } IOleDocumentSiteVtbl;
  338.  
  339.     interface IOleDocumentSite
  340.     {
  341.         CONST_VTBL struct IOleDocumentSiteVtbl __RPC_FAR *lpVtbl;
  342.     };
  343.  
  344.     
  345.  
  346. #ifdef COBJMACROS
  347.  
  348.  
  349. #define IOleDocumentSite_QueryInterface(This,riid,ppvObject)    \
  350.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  351.  
  352. #define IOleDocumentSite_AddRef(This)    \
  353.     (This)->lpVtbl -> AddRef(This)
  354.  
  355. #define IOleDocumentSite_Release(This)    \
  356.     (This)->lpVtbl -> Release(This)
  357.  
  358.  
  359. #define IOleDocumentSite_ActivateMe(This,pViewToActivate)    \
  360.     (This)->lpVtbl -> ActivateMe(This,pViewToActivate)
  361.  
  362. #endif /* COBJMACROS */
  363.  
  364.  
  365. #endif     /* C style interface */
  366.  
  367.  
  368.  
  369. HRESULT __stdcall IOleDocumentSite_ActivateMe_Proxy( 
  370.     IOleDocumentSite __RPC_FAR * This,
  371.     /* [in] */ IOleDocumentView __RPC_FAR *pViewToActivate);
  372.  
  373.  
  374. void __RPC_STUB IOleDocumentSite_ActivateMe_Stub(
  375.     IRpcStubBuffer *This,
  376.     IRpcChannelBuffer *_pRpcChannelBuffer,
  377.     PRPC_MESSAGE _pRpcMessage,
  378.     DWORD *_pdwStubPhase);
  379.  
  380.  
  381.  
  382. #endif     /* __IOleDocumentSite_INTERFACE_DEFINED__ */
  383.  
  384.  
  385. /****************************************
  386.  * Generated header for interface: __MIDL__intf_0078
  387.  * at Mon Dec 04 18:29:03 1995
  388.  * using MIDL 2.00.0102
  389.  ****************************************/
  390. /* [local] */ 
  391.  
  392.  
  393. #endif
  394. #ifndef _LPOLEDOCUMENTVIEW_DEFINED
  395. #define _LPOLEDOCUMENTVIEW_DEFINED
  396.  
  397.  
  398. extern RPC_IF_HANDLE __MIDL__intf_0078_v0_0_c_ifspec;
  399. extern RPC_IF_HANDLE __MIDL__intf_0078_v0_0_s_ifspec;
  400.  
  401. #ifndef __IOleDocumentView_INTERFACE_DEFINED__
  402. #define __IOleDocumentView_INTERFACE_DEFINED__
  403.  
  404. /****************************************
  405.  * Generated header for interface: IOleDocumentView
  406.  * at Mon Dec 04 18:29:03 1995
  407.  * using MIDL 2.00.0102
  408.  ****************************************/
  409. /* [unique][uuid][object] */ 
  410.  
  411.  
  412.             /* size is 4 */
  413. typedef /* [unique] */ IOleDocumentView __RPC_FAR *LPOLEDOCUMENTVIEW;
  414.  
  415.  
  416. EXTERN_C const IID IID_IOleDocumentView;
  417.  
  418. #if defined(__cplusplus) && !defined(CINTERFACE)
  419.     
  420.     interface IOleDocumentView : public IUnknown
  421.     {
  422.     public:
  423.         virtual HRESULT __stdcall SetInPlaceSite( 
  424.             /* [unique][in] */ IOleInPlaceSite __RPC_FAR *pIPSite) = 0;
  425.         
  426.         virtual HRESULT __stdcall GetInPlaceSite( 
  427.             /* [out] */ IOleInPlaceSite __RPC_FAR *__RPC_FAR *ppIPSite) = 0;
  428.         
  429.         virtual HRESULT __stdcall GetDocument( 
  430.             /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunk) = 0;
  431.         
  432.         virtual /* [input_sync] */ HRESULT __stdcall SetRect( 
  433.             /* [in] */ LPRECT prcView) = 0;
  434.         
  435.         virtual HRESULT __stdcall GetRect( 
  436.             /* [out] */ LPRECT prcView) = 0;
  437.         
  438.         virtual /* [input_sync] */ HRESULT __stdcall SetRectComplex( 
  439.             /* [unique][in] */ LPRECT prcView,
  440.             /* [unique][in] */ LPRECT prcHScroll,
  441.             /* [unique][in] */ LPRECT prcVScroll,
  442.             /* [unique][in] */ LPRECT prcSizeBox) = 0;
  443.         
  444.         virtual HRESULT __stdcall Show( 
  445.             /* [in] */ BOOL fShow) = 0;
  446.         
  447.         virtual HRESULT __stdcall UIActivate( 
  448.             /* [in] */ BOOL fUIActivate) = 0;
  449.         
  450.         virtual HRESULT __stdcall Open( void) = 0;
  451.         
  452.         virtual HRESULT __stdcall CloseView( 
  453.             DWORD dwReserved) = 0;
  454.         
  455.         virtual HRESULT __stdcall SaveViewState( 
  456.             /* [in] */ LPSTREAM pstm) = 0;
  457.         
  458.         virtual HRESULT __stdcall ApplyViewState( 
  459.             /* [in] */ LPSTREAM pstm) = 0;
  460.         
  461.         virtual HRESULT __stdcall Clone( 
  462.             /* [in] */ IOleInPlaceSite __RPC_FAR *pIPSiteNew,
  463.             /* [out] */ IOleDocumentView __RPC_FAR *__RPC_FAR *ppViewNew) = 0;
  464.         
  465.     };
  466.     
  467. #else     /* C style interface */
  468.  
  469.     typedef struct IOleDocumentViewVtbl
  470.     {
  471.         
  472.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  473.             IOleDocumentView __RPC_FAR * This,
  474.             /* [in] */ REFIID riid,
  475.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  476.         
  477.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  478.             IOleDocumentView __RPC_FAR * This);
  479.         
  480.         ULONG ( __stdcall __RPC_FAR *Release )( 
  481.             IOleDocumentView __RPC_FAR * This);
  482.         
  483.         HRESULT ( __stdcall __RPC_FAR *SetInPlaceSite )( 
  484.             IOleDocumentView __RPC_FAR * This,
  485.             /* [unique][in] */ IOleInPlaceSite __RPC_FAR *pIPSite);
  486.         
  487.         HRESULT ( __stdcall __RPC_FAR *GetInPlaceSite )( 
  488.             IOleDocumentView __RPC_FAR * This,
  489.             /* [out] */ IOleInPlaceSite __RPC_FAR *__RPC_FAR *ppIPSite);
  490.         
  491.         HRESULT ( __stdcall __RPC_FAR *GetDocument )( 
  492.             IOleDocumentView __RPC_FAR * This,
  493.             /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunk);
  494.         
  495.         /* [input_sync] */ HRESULT ( __stdcall __RPC_FAR *SetRect )( 
  496.             IOleDocumentView __RPC_FAR * This,
  497.             /* [in] */ LPRECT prcView);
  498.         
  499.         HRESULT ( __stdcall __RPC_FAR *GetRect )( 
  500.             IOleDocumentView __RPC_FAR * This,
  501.             /* [out] */ LPRECT prcView);
  502.         
  503.         /* [input_sync] */ HRESULT ( __stdcall __RPC_FAR *SetRectComplex )( 
  504.             IOleDocumentView __RPC_FAR * This,
  505.             /* [unique][in] */ LPRECT prcView,
  506.             /* [unique][in] */ LPRECT prcHScroll,
  507.             /* [unique][in] */ LPRECT prcVScroll,
  508.             /* [unique][in] */ LPRECT prcSizeBox);
  509.         
  510.         HRESULT ( __stdcall __RPC_FAR *Show )( 
  511.             IOleDocumentView __RPC_FAR * This,
  512.             /* [in] */ BOOL fShow);
  513.         
  514.         HRESULT ( __stdcall __RPC_FAR *UIActivate )( 
  515.             IOleDocumentView __RPC_FAR * This,
  516.             /* [in] */ BOOL fUIActivate);
  517.         
  518.         HRESULT ( __stdcall __RPC_FAR *Open )( 
  519.             IOleDocumentView __RPC_FAR * This);
  520.         
  521.         HRESULT ( __stdcall __RPC_FAR *CloseView )( 
  522.             IOleDocumentView __RPC_FAR * This,
  523.             DWORD dwReserved);
  524.         
  525.         HRESULT ( __stdcall __RPC_FAR *SaveViewState )( 
  526.             IOleDocumentView __RPC_FAR * This,
  527.             /* [in] */ LPSTREAM pstm);
  528.         
  529.         HRESULT ( __stdcall __RPC_FAR *ApplyViewState )( 
  530.             IOleDocumentView __RPC_FAR * This,
  531.             /* [in] */ LPSTREAM pstm);
  532.         
  533.         HRESULT ( __stdcall __RPC_FAR *Clone )( 
  534.             IOleDocumentView __RPC_FAR * This,
  535.             /* [in] */ IOleInPlaceSite __RPC_FAR *pIPSiteNew,
  536.             /* [out] */ IOleDocumentView __RPC_FAR *__RPC_FAR *ppViewNew);
  537.         
  538.     } IOleDocumentViewVtbl;
  539.  
  540.     interface IOleDocumentView
  541.     {
  542.         CONST_VTBL struct IOleDocumentViewVtbl __RPC_FAR *lpVtbl;
  543.     };
  544.  
  545.     
  546.  
  547. #ifdef COBJMACROS
  548.  
  549.  
  550. #define IOleDocumentView_QueryInterface(This,riid,ppvObject)    \
  551.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  552.  
  553. #define IOleDocumentView_AddRef(This)    \
  554.     (This)->lpVtbl -> AddRef(This)
  555.  
  556. #define IOleDocumentView_Release(This)    \
  557.     (This)->lpVtbl -> Release(This)
  558.  
  559.  
  560. #define IOleDocumentView_SetInPlaceSite(This,pIPSite)    \
  561.     (This)->lpVtbl -> SetInPlaceSite(This,pIPSite)
  562.  
  563. #define IOleDocumentView_GetInPlaceSite(This,ppIPSite)    \
  564.     (This)->lpVtbl -> GetInPlaceSite(This,ppIPSite)
  565.  
  566. #define IOleDocumentView_GetDocument(This,ppunk)    \
  567.     (This)->lpVtbl -> GetDocument(This,ppunk)
  568.  
  569. #define IOleDocumentView_SetRect(This,prcView)    \
  570.     (This)->lpVtbl -> SetRect(This,prcView)
  571.  
  572. #define IOleDocumentView_GetRect(This,prcView)    \
  573.     (This)->lpVtbl -> GetRect(This,prcView)
  574.  
  575. #define IOleDocumentView_SetRectComplex(This,prcView,prcHScroll,prcVScroll,prcSizeBox)    \
  576.     (This)->lpVtbl -> SetRectComplex(This,prcView,prcHScroll,prcVScroll,prcSizeBox)
  577.  
  578. #define IOleDocumentView_Show(This,fShow)    \
  579.     (This)->lpVtbl -> Show(This,fShow)
  580.  
  581. #define IOleDocumentView_UIActivate(This,fUIActivate)    \
  582.     (This)->lpVtbl -> UIActivate(This,fUIActivate)
  583.  
  584. #define IOleDocumentView_Open(This)    \
  585.     (This)->lpVtbl -> Open(This)
  586.  
  587. #define IOleDocumentView_CloseView(This,dwReserved)    \
  588.     (This)->lpVtbl -> CloseView(This,dwReserved)
  589.  
  590. #define IOleDocumentView_SaveViewState(This,pstm)    \
  591.     (This)->lpVtbl -> SaveViewState(This,pstm)
  592.  
  593. #define IOleDocumentView_ApplyViewState(This,pstm)    \
  594.     (This)->lpVtbl -> ApplyViewState(This,pstm)
  595.  
  596. #define IOleDocumentView_Clone(This,pIPSiteNew,ppViewNew)    \
  597.     (This)->lpVtbl -> Clone(This,pIPSiteNew,ppViewNew)
  598.  
  599. #endif /* COBJMACROS */
  600.  
  601.  
  602. #endif     /* C style interface */
  603.  
  604.  
  605.  
  606. HRESULT __stdcall IOleDocumentView_SetInPlaceSite_Proxy( 
  607.     IOleDocumentView __RPC_FAR * This,
  608.     /* [unique][in] */ IOleInPlaceSite __RPC_FAR *pIPSite);
  609.  
  610.  
  611. void __RPC_STUB IOleDocumentView_SetInPlaceSite_Stub(
  612.     IRpcStubBuffer *This,
  613.     IRpcChannelBuffer *_pRpcChannelBuffer,
  614.     PRPC_MESSAGE _pRpcMessage,
  615.     DWORD *_pdwStubPhase);
  616.  
  617.  
  618. HRESULT __stdcall IOleDocumentView_GetInPlaceSite_Proxy( 
  619.     IOleDocumentView __RPC_FAR * This,
  620.     /* [out] */ IOleInPlaceSite __RPC_FAR *__RPC_FAR *ppIPSite);
  621.  
  622.  
  623. void __RPC_STUB IOleDocumentView_GetInPlaceSite_Stub(
  624.     IRpcStubBuffer *This,
  625.     IRpcChannelBuffer *_pRpcChannelBuffer,
  626.     PRPC_MESSAGE _pRpcMessage,
  627.     DWORD *_pdwStubPhase);
  628.  
  629.  
  630. HRESULT __stdcall IOleDocumentView_GetDocument_Proxy( 
  631.     IOleDocumentView __RPC_FAR * This,
  632.     /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunk);
  633.  
  634.  
  635. void __RPC_STUB IOleDocumentView_GetDocument_Stub(
  636.     IRpcStubBuffer *This,
  637.     IRpcChannelBuffer *_pRpcChannelBuffer,
  638.     PRPC_MESSAGE _pRpcMessage,
  639.     DWORD *_pdwStubPhase);
  640.  
  641.  
  642. /* [input_sync] */ HRESULT __stdcall IOleDocumentView_SetRect_Proxy( 
  643.     IOleDocumentView __RPC_FAR * This,
  644.     /* [in] */ LPRECT prcView);
  645.  
  646.  
  647. void __RPC_STUB IOleDocumentView_SetRect_Stub(
  648.     IRpcStubBuffer *This,
  649.     IRpcChannelBuffer *_pRpcChannelBuffer,
  650.     PRPC_MESSAGE _pRpcMessage,
  651.     DWORD *_pdwStubPhase);
  652.  
  653.  
  654. HRESULT __stdcall IOleDocumentView_GetRect_Proxy( 
  655.     IOleDocumentView __RPC_FAR * This,
  656.     /* [out] */ LPRECT prcView);
  657.  
  658.  
  659. void __RPC_STUB IOleDocumentView_GetRect_Stub(
  660.     IRpcStubBuffer *This,
  661.     IRpcChannelBuffer *_pRpcChannelBuffer,
  662.     PRPC_MESSAGE _pRpcMessage,
  663.     DWORD *_pdwStubPhase);
  664.  
  665.  
  666. /* [input_sync] */ HRESULT __stdcall IOleDocumentView_SetRectComplex_Proxy( 
  667.     IOleDocumentView __RPC_FAR * This,
  668.     /* [unique][in] */ LPRECT prcView,
  669.     /* [unique][in] */ LPRECT prcHScroll,
  670.     /* [unique][in] */ LPRECT prcVScroll,
  671.     /* [unique][in] */ LPRECT prcSizeBox);
  672.  
  673.  
  674. void __RPC_STUB IOleDocumentView_SetRectComplex_Stub(
  675.     IRpcStubBuffer *This,
  676.     IRpcChannelBuffer *_pRpcChannelBuffer,
  677.     PRPC_MESSAGE _pRpcMessage,
  678.     DWORD *_pdwStubPhase);
  679.  
  680.  
  681. HRESULT __stdcall IOleDocumentView_Show_Proxy( 
  682.     IOleDocumentView __RPC_FAR * This,
  683.     /* [in] */ BOOL fShow);
  684.  
  685.  
  686. void __RPC_STUB IOleDocumentView_Show_Stub(
  687.     IRpcStubBuffer *This,
  688.     IRpcChannelBuffer *_pRpcChannelBuffer,
  689.     PRPC_MESSAGE _pRpcMessage,
  690.     DWORD *_pdwStubPhase);
  691.  
  692.  
  693. HRESULT __stdcall IOleDocumentView_UIActivate_Proxy( 
  694.     IOleDocumentView __RPC_FAR * This,
  695.     /* [in] */ BOOL fUIActivate);
  696.  
  697.  
  698. void __RPC_STUB IOleDocumentView_UIActivate_Stub(
  699.     IRpcStubBuffer *This,
  700.     IRpcChannelBuffer *_pRpcChannelBuffer,
  701.     PRPC_MESSAGE _pRpcMessage,
  702.     DWORD *_pdwStubPhase);
  703.  
  704.  
  705. HRESULT __stdcall IOleDocumentView_Open_Proxy( 
  706.     IOleDocumentView __RPC_FAR * This);
  707.  
  708.  
  709. void __RPC_STUB IOleDocumentView_Open_Stub(
  710.     IRpcStubBuffer *This,
  711.     IRpcChannelBuffer *_pRpcChannelBuffer,
  712.     PRPC_MESSAGE _pRpcMessage,
  713.     DWORD *_pdwStubPhase);
  714.  
  715.  
  716. HRESULT __stdcall IOleDocumentView_CloseView_Proxy( 
  717.     IOleDocumentView __RPC_FAR * This,
  718.     DWORD dwReserved);
  719.  
  720.  
  721. void __RPC_STUB IOleDocumentView_CloseView_Stub(
  722.     IRpcStubBuffer *This,
  723.     IRpcChannelBuffer *_pRpcChannelBuffer,
  724.     PRPC_MESSAGE _pRpcMessage,
  725.     DWORD *_pdwStubPhase);
  726.  
  727.  
  728. HRESULT __stdcall IOleDocumentView_SaveViewState_Proxy( 
  729.     IOleDocumentView __RPC_FAR * This,
  730.     /* [in] */ LPSTREAM pstm);
  731.  
  732.  
  733. void __RPC_STUB IOleDocumentView_SaveViewState_Stub(
  734.     IRpcStubBuffer *This,
  735.     IRpcChannelBuffer *_pRpcChannelBuffer,
  736.     PRPC_MESSAGE _pRpcMessage,
  737.     DWORD *_pdwStubPhase);
  738.  
  739.  
  740. HRESULT __stdcall IOleDocumentView_ApplyViewState_Proxy( 
  741.     IOleDocumentView __RPC_FAR * This,
  742.     /* [in] */ LPSTREAM pstm);
  743.  
  744.  
  745. void __RPC_STUB IOleDocumentView_ApplyViewState_Stub(
  746.     IRpcStubBuffer *This,
  747.     IRpcChannelBuffer *_pRpcChannelBuffer,
  748.     PRPC_MESSAGE _pRpcMessage,
  749.     DWORD *_pdwStubPhase);
  750.  
  751.  
  752. HRESULT __stdcall IOleDocumentView_Clone_Proxy( 
  753.     IOleDocumentView __RPC_FAR * This,
  754.     /* [in] */ IOleInPlaceSite __RPC_FAR *pIPSiteNew,
  755.     /* [out] */ IOleDocumentView __RPC_FAR *__RPC_FAR *ppViewNew);
  756.  
  757.  
  758. void __RPC_STUB IOleDocumentView_Clone_Stub(
  759.     IRpcStubBuffer *This,
  760.     IRpcChannelBuffer *_pRpcChannelBuffer,
  761.     PRPC_MESSAGE _pRpcMessage,
  762.     DWORD *_pdwStubPhase);
  763.  
  764.  
  765.  
  766. #endif     /* __IOleDocumentView_INTERFACE_DEFINED__ */
  767.  
  768.  
  769. /****************************************
  770.  * Generated header for interface: __MIDL__intf_0079
  771.  * at Mon Dec 04 18:29:03 1995
  772.  * using MIDL 2.00.0102
  773.  ****************************************/
  774. /* [local] */ 
  775.  
  776.  
  777. #endif
  778. #ifndef _LPENUMOLEDOCUMENTVIEWS_DEFINED
  779. #define _LPENUMOLEDOCUMENTVIEWS_DEFINED
  780.  
  781.  
  782. extern RPC_IF_HANDLE __MIDL__intf_0079_v0_0_c_ifspec;
  783. extern RPC_IF_HANDLE __MIDL__intf_0079_v0_0_s_ifspec;
  784.  
  785. #ifndef __IEnumOleDocumentViews_INTERFACE_DEFINED__
  786. #define __IEnumOleDocumentViews_INTERFACE_DEFINED__
  787.  
  788. /****************************************
  789.  * Generated header for interface: IEnumOleDocumentViews
  790.  * at Mon Dec 04 18:29:03 1995
  791.  * using MIDL 2.00.0102
  792.  ****************************************/
  793. /* [unique][uuid][object] */ 
  794.  
  795.  
  796.             /* size is 4 */
  797. typedef /* [unique] */ IEnumOleDocumentViews __RPC_FAR *LPENUMOLEDOCUMENTVIEWS;
  798.  
  799.  
  800. EXTERN_C const IID IID_IEnumOleDocumentViews;
  801.  
  802. #if defined(__cplusplus) && !defined(CINTERFACE)
  803.     
  804.     interface IEnumOleDocumentViews : public IUnknown
  805.     {
  806.     public:
  807.         virtual /* [local] */ HRESULT __stdcall Next( 
  808.             /* [in] */ ULONG cViews,
  809.             /* [out] */ IOleDocumentView __RPC_FAR *__RPC_FAR *rgpView,
  810.             /* [out] */ ULONG __RPC_FAR *pcFetched) = 0;
  811.         
  812.         virtual HRESULT __stdcall Skip( 
  813.             /* [in] */ ULONG cViews) = 0;
  814.         
  815.         virtual HRESULT __stdcall Reset( void) = 0;
  816.         
  817.         virtual HRESULT __stdcall Clone( 
  818.             /* [out] */ IEnumOleDocumentViews __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  819.         
  820.     };
  821.     
  822. #else     /* C style interface */
  823.  
  824.     typedef struct IEnumOleDocumentViewsVtbl
  825.     {
  826.         
  827.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  828.             IEnumOleDocumentViews __RPC_FAR * This,
  829.             /* [in] */ REFIID riid,
  830.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  831.         
  832.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  833.             IEnumOleDocumentViews __RPC_FAR * This);
  834.         
  835.         ULONG ( __stdcall __RPC_FAR *Release )( 
  836.             IEnumOleDocumentViews __RPC_FAR * This);
  837.         
  838.         /* [local] */ HRESULT ( __stdcall __RPC_FAR *Next )( 
  839.             IEnumOleDocumentViews __RPC_FAR * This,
  840.             /* [in] */ ULONG cViews,
  841.             /* [out] */ IOleDocumentView __RPC_FAR *__RPC_FAR *rgpView,
  842.             /* [out] */ ULONG __RPC_FAR *pcFetched);
  843.         
  844.         HRESULT ( __stdcall __RPC_FAR *Skip )( 
  845.             IEnumOleDocumentViews __RPC_FAR * This,
  846.             /* [in] */ ULONG cViews);
  847.         
  848.         HRESULT ( __stdcall __RPC_FAR *Reset )( 
  849.             IEnumOleDocumentViews __RPC_FAR * This);
  850.         
  851.         HRESULT ( __stdcall __RPC_FAR *Clone )( 
  852.             IEnumOleDocumentViews __RPC_FAR * This,
  853.             /* [out] */ IEnumOleDocumentViews __RPC_FAR *__RPC_FAR *ppEnum);
  854.         
  855.     } IEnumOleDocumentViewsVtbl;
  856.  
  857.     interface IEnumOleDocumentViews
  858.     {
  859.         CONST_VTBL struct IEnumOleDocumentViewsVtbl __RPC_FAR *lpVtbl;
  860.     };
  861.  
  862.     
  863.  
  864. #ifdef COBJMACROS
  865.  
  866.  
  867. #define IEnumOleDocumentViews_QueryInterface(This,riid,ppvObject)    \
  868.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  869.  
  870. #define IEnumOleDocumentViews_AddRef(This)    \
  871.     (This)->lpVtbl -> AddRef(This)
  872.  
  873. #define IEnumOleDocumentViews_Release(This)    \
  874.     (This)->lpVtbl -> Release(This)
  875.  
  876.  
  877. #define IEnumOleDocumentViews_Next(This,cViews,rgpView,pcFetched)    \
  878.     (This)->lpVtbl -> Next(This,cViews,rgpView,pcFetched)
  879.  
  880. #define IEnumOleDocumentViews_Skip(This,cViews)    \
  881.     (This)->lpVtbl -> Skip(This,cViews)
  882.  
  883. #define IEnumOleDocumentViews_Reset(This)    \
  884.     (This)->lpVtbl -> Reset(This)
  885.  
  886. #define IEnumOleDocumentViews_Clone(This,ppEnum)    \
  887.     (This)->lpVtbl -> Clone(This,ppEnum)
  888.  
  889. #endif /* COBJMACROS */
  890.  
  891.  
  892. #endif     /* C style interface */
  893.  
  894.  
  895.  
  896. /* [call_as] */ HRESULT __stdcall IEnumOleDocumentViews_RemoteNext_Proxy( 
  897.     IEnumOleDocumentViews __RPC_FAR * This,
  898.     /* [in] */ ULONG cViews,
  899.     /* [length_is][size_is][out] */ IOleDocumentView __RPC_FAR *__RPC_FAR *rgpView,
  900.     /* [out] */ ULONG __RPC_FAR *pcFetched);
  901.  
  902.  
  903. void __RPC_STUB IEnumOleDocumentViews_RemoteNext_Stub(
  904.     IRpcStubBuffer *This,
  905.     IRpcChannelBuffer *_pRpcChannelBuffer,
  906.     PRPC_MESSAGE _pRpcMessage,
  907.     DWORD *_pdwStubPhase);
  908.  
  909.  
  910. HRESULT __stdcall IEnumOleDocumentViews_Skip_Proxy( 
  911.     IEnumOleDocumentViews __RPC_FAR * This,
  912.     /* [in] */ ULONG cViews);
  913.  
  914.  
  915. void __RPC_STUB IEnumOleDocumentViews_Skip_Stub(
  916.     IRpcStubBuffer *This,
  917.     IRpcChannelBuffer *_pRpcChannelBuffer,
  918.     PRPC_MESSAGE _pRpcMessage,
  919.     DWORD *_pdwStubPhase);
  920.  
  921.  
  922. HRESULT __stdcall IEnumOleDocumentViews_Reset_Proxy( 
  923.     IEnumOleDocumentViews __RPC_FAR * This);
  924.  
  925.  
  926. void __RPC_STUB IEnumOleDocumentViews_Reset_Stub(
  927.     IRpcStubBuffer *This,
  928.     IRpcChannelBuffer *_pRpcChannelBuffer,
  929.     PRPC_MESSAGE _pRpcMessage,
  930.     DWORD *_pdwStubPhase);
  931.  
  932.  
  933. HRESULT __stdcall IEnumOleDocumentViews_Clone_Proxy( 
  934.     IEnumOleDocumentViews __RPC_FAR * This,
  935.     /* [out] */ IEnumOleDocumentViews __RPC_FAR *__RPC_FAR *ppEnum);
  936.  
  937.  
  938. void __RPC_STUB IEnumOleDocumentViews_Clone_Stub(
  939.     IRpcStubBuffer *This,
  940.     IRpcChannelBuffer *_pRpcChannelBuffer,
  941.     PRPC_MESSAGE _pRpcMessage,
  942.     DWORD *_pdwStubPhase);
  943.  
  944.  
  945.  
  946. #endif     /* __IEnumOleDocumentViews_INTERFACE_DEFINED__ */
  947.  
  948.  
  949. /****************************************
  950.  * Generated header for interface: __MIDL__intf_0080
  951.  * at Mon Dec 04 18:29:03 1995
  952.  * using MIDL 2.00.0102
  953.  ****************************************/
  954. /* [local] */ 
  955.  
  956.  
  957. #endif
  958. #ifndef _LPCONTINUECALLBACK_DEFINED
  959. #define _LPCONTINUECALLBACK_DEFINED
  960.  
  961.  
  962. extern RPC_IF_HANDLE __MIDL__intf_0080_v0_0_c_ifspec;
  963. extern RPC_IF_HANDLE __MIDL__intf_0080_v0_0_s_ifspec;
  964.  
  965. #ifndef __IContinueCallback_INTERFACE_DEFINED__
  966. #define __IContinueCallback_INTERFACE_DEFINED__
  967.  
  968. /****************************************
  969.  * Generated header for interface: IContinueCallback
  970.  * at Mon Dec 04 18:29:03 1995
  971.  * using MIDL 2.00.0102
  972.  ****************************************/
  973. /* [unique][uuid][object] */ 
  974.  
  975.  
  976.             /* size is 4 */
  977. typedef /* [unique] */ IContinueCallback __RPC_FAR *LPCONTINUECALLBACK;
  978.  
  979.  
  980. EXTERN_C const IID IID_IContinueCallback;
  981.  
  982. #if defined(__cplusplus) && !defined(CINTERFACE)
  983.     
  984.     interface IContinueCallback : public IUnknown
  985.     {
  986.     public:
  987.         virtual HRESULT __stdcall FContinue( void) = 0;
  988.         
  989.         virtual HRESULT __stdcall FContinuePrinting( 
  990.             /* [in] */ LONG nCntPrinted,
  991.             /* [in] */ LONG nCurPage,
  992.             /* [unique][in] */ wchar_t __RPC_FAR *pwszPrintStatus) = 0;
  993.         
  994.     };
  995.     
  996. #else     /* C style interface */
  997.  
  998.     typedef struct IContinueCallbackVtbl
  999.     {
  1000.         
  1001.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  1002.             IContinueCallback __RPC_FAR * This,
  1003.             /* [in] */ REFIID riid,
  1004.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1005.         
  1006.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  1007.             IContinueCallback __RPC_FAR * This);
  1008.         
  1009.         ULONG ( __stdcall __RPC_FAR *Release )( 
  1010.             IContinueCallback __RPC_FAR * This);
  1011.         
  1012.         HRESULT ( __stdcall __RPC_FAR *FContinue )( 
  1013.             IContinueCallback __RPC_FAR * This);
  1014.         
  1015.         HRESULT ( __stdcall __RPC_FAR *FContinuePrinting )( 
  1016.             IContinueCallback __RPC_FAR * This,
  1017.             /* [in] */ LONG nCntPrinted,
  1018.             /* [in] */ LONG nCurPage,
  1019.             /* [unique][in] */ wchar_t __RPC_FAR *pwszPrintStatus);
  1020.         
  1021.     } IContinueCallbackVtbl;
  1022.  
  1023.     interface IContinueCallback
  1024.     {
  1025.         CONST_VTBL struct IContinueCallbackVtbl __RPC_FAR *lpVtbl;
  1026.     };
  1027.  
  1028.     
  1029.  
  1030. #ifdef COBJMACROS
  1031.  
  1032.  
  1033. #define IContinueCallback_QueryInterface(This,riid,ppvObject)    \
  1034.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1035.  
  1036. #define IContinueCallback_AddRef(This)    \
  1037.     (This)->lpVtbl -> AddRef(This)
  1038.  
  1039. #define IContinueCallback_Release(This)    \
  1040.     (This)->lpVtbl -> Release(This)
  1041.  
  1042.  
  1043. #define IContinueCallback_FContinue(This)    \
  1044.     (This)->lpVtbl -> FContinue(This)
  1045.  
  1046. #define IContinueCallback_FContinuePrinting(This,nCntPrinted,nCurPage,pwszPrintStatus)    \
  1047.     (This)->lpVtbl -> FContinuePrinting(This,nCntPrinted,nCurPage,pwszPrintStatus)
  1048.  
  1049. #endif /* COBJMACROS */
  1050.  
  1051.  
  1052. #endif     /* C style interface */
  1053.  
  1054.  
  1055.  
  1056. HRESULT __stdcall IContinueCallback_FContinue_Proxy( 
  1057.     IContinueCallback __RPC_FAR * This);
  1058.  
  1059.  
  1060. void __RPC_STUB IContinueCallback_FContinue_Stub(
  1061.     IRpcStubBuffer *This,
  1062.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1063.     PRPC_MESSAGE _pRpcMessage,
  1064.     DWORD *_pdwStubPhase);
  1065.  
  1066.  
  1067. HRESULT __stdcall IContinueCallback_FContinuePrinting_Proxy( 
  1068.     IContinueCallback __RPC_FAR * This,
  1069.     /* [in] */ LONG nCntPrinted,
  1070.     /* [in] */ LONG nCurPage,
  1071.     /* [unique][in] */ wchar_t __RPC_FAR *pwszPrintStatus);
  1072.  
  1073.  
  1074. void __RPC_STUB IContinueCallback_FContinuePrinting_Stub(
  1075.     IRpcStubBuffer *This,
  1076.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1077.     PRPC_MESSAGE _pRpcMessage,
  1078.     DWORD *_pdwStubPhase);
  1079.  
  1080.  
  1081.  
  1082. #endif     /* __IContinueCallback_INTERFACE_DEFINED__ */
  1083.  
  1084.  
  1085. /****************************************
  1086.  * Generated header for interface: __MIDL__intf_0081
  1087.  * at Mon Dec 04 18:29:03 1995
  1088.  * using MIDL 2.00.0102
  1089.  ****************************************/
  1090. /* [local] */ 
  1091.  
  1092.  
  1093. #endif
  1094. #ifndef _LPPRINT_DEFINED
  1095. #define _LPPRINT_DEFINED
  1096.  
  1097.  
  1098. extern RPC_IF_HANDLE __MIDL__intf_0081_v0_0_c_ifspec;
  1099. extern RPC_IF_HANDLE __MIDL__intf_0081_v0_0_s_ifspec;
  1100.  
  1101. #ifndef __IPrint_INTERFACE_DEFINED__
  1102. #define __IPrint_INTERFACE_DEFINED__
  1103.  
  1104. /****************************************
  1105.  * Generated header for interface: IPrint
  1106.  * at Mon Dec 04 18:29:03 1995
  1107.  * using MIDL 2.00.0102
  1108.  ****************************************/
  1109. /* [unique][uuid][object] */ 
  1110.  
  1111.  
  1112.             /* size is 4 */
  1113. typedef /* [unique] */ IPrint __RPC_FAR *LPPRINT;
  1114.  
  1115.             /* size is 4 */
  1116. typedef 
  1117. enum __MIDL_IPrint_0001
  1118.     {    PRINTFLAG_MAYBOTHERUSER    = 1,
  1119.     PRINTFLAG_PROMPTUSER    = 2,
  1120.     PRINTFLAG_USERMAYCHANGEPRINTER    = 4,
  1121.     PRINTFLAG_RECOMPOSETODEVICE    = 8,
  1122.     PRINTFLAG_DONTACTUALLYPRINT    = 16,
  1123.     PRINTFLAG_FORCEPROPERTIES    = 32,
  1124.     PRINTFLAG_PRINTTOFILE    = 64
  1125.     }    PRINTFLAG;
  1126.  
  1127.             /* size is 8 */
  1128. typedef struct  tagPAGERANGE
  1129.     {
  1130.     LONG nFromPage;
  1131.     LONG nToPage;
  1132.     }    PAGERANGE;
  1133.  
  1134.             /* size is 16 */
  1135. typedef struct  tagPAGESET
  1136.     {
  1137.     ULONG cbStruct;
  1138.     BOOL fOddPages;
  1139.     BOOL fEvenPages;
  1140.     ULONG cPageRange;
  1141.     /* [size_is] */ PAGERANGE rgPages[ 1 ];
  1142.     }    PAGESET;
  1143.  
  1144. #define PAGESET_TOLASTPAGE    ((WORD)(-1L))
  1145.  
  1146. EXTERN_C const IID IID_IPrint;
  1147.  
  1148. #if defined(__cplusplus) && !defined(CINTERFACE)
  1149.     
  1150.     interface IPrint : public IUnknown
  1151.     {
  1152.     public:
  1153.         virtual HRESULT __stdcall SetInitialPageNum( 
  1154.             /* [in] */ LONG nFirstPage) = 0;
  1155.         
  1156.         virtual HRESULT __stdcall GetPageInfo( 
  1157.             /* [out] */ LONG __RPC_FAR *pnFirstPage,
  1158.             /* [out] */ LONG __RPC_FAR *pcPages) = 0;
  1159.         
  1160.         virtual /* [local] */ HRESULT __stdcall Print( 
  1161.             /* [in] */ DWORD grfFlags,
  1162.             /* [out][in] */ DVTARGETDEVICE __RPC_FAR *__RPC_FAR *pptd,
  1163.             /* [out][in] */ PAGESET __RPC_FAR *__RPC_FAR *ppPageSet,
  1164.             /* [unique][out][in] */ STGMEDIUM __RPC_FAR *pstgmOptions,
  1165.             /* [in] */ IContinueCallback __RPC_FAR *pcallback,
  1166.             /* [in] */ LONG nFirstPage,
  1167.             /* [out] */ LONG __RPC_FAR *pcPagesPrinted,
  1168.             /* [out] */ LONG __RPC_FAR *pnLastPage) = 0;
  1169.         
  1170.     };
  1171.     
  1172. #else     /* C style interface */
  1173.  
  1174.     typedef struct IPrintVtbl
  1175.     {
  1176.         
  1177.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  1178.             IPrint __RPC_FAR * This,
  1179.             /* [in] */ REFIID riid,
  1180.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1181.         
  1182.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  1183.             IPrint __RPC_FAR * This);
  1184.         
  1185.         ULONG ( __stdcall __RPC_FAR *Release )( 
  1186.             IPrint __RPC_FAR * This);
  1187.         
  1188.         HRESULT ( __stdcall __RPC_FAR *SetInitialPageNum )( 
  1189.             IPrint __RPC_FAR * This,
  1190.             /* [in] */ LONG nFirstPage);
  1191.         
  1192.         HRESULT ( __stdcall __RPC_FAR *GetPageInfo )( 
  1193.             IPrint __RPC_FAR * This,
  1194.             /* [out] */ LONG __RPC_FAR *pnFirstPage,
  1195.             /* [out] */ LONG __RPC_FAR *pcPages);
  1196.         
  1197.         /* [local] */ HRESULT ( __stdcall __RPC_FAR *Print )( 
  1198.             IPrint __RPC_FAR * This,
  1199.             /* [in] */ DWORD grfFlags,
  1200.             /* [out][in] */ DVTARGETDEVICE __RPC_FAR *__RPC_FAR *pptd,
  1201.             /* [out][in] */ PAGESET __RPC_FAR *__RPC_FAR *ppPageSet,
  1202.             /* [unique][out][in] */ STGMEDIUM __RPC_FAR *pstgmOptions,
  1203.             /* [in] */ IContinueCallback __RPC_FAR *pcallback,
  1204.             /* [in] */ LONG nFirstPage,
  1205.             /* [out] */ LONG __RPC_FAR *pcPagesPrinted,
  1206.             /* [out] */ LONG __RPC_FAR *pnLastPage);
  1207.         
  1208.     } IPrintVtbl;
  1209.  
  1210.     interface IPrint
  1211.     {
  1212.         CONST_VTBL struct IPrintVtbl __RPC_FAR *lpVtbl;
  1213.     };
  1214.  
  1215.     
  1216.  
  1217. #ifdef COBJMACROS
  1218.  
  1219.  
  1220. #define IPrint_QueryInterface(This,riid,ppvObject)    \
  1221.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1222.  
  1223. #define IPrint_AddRef(This)    \
  1224.     (This)->lpVtbl -> AddRef(This)
  1225.  
  1226. #define IPrint_Release(This)    \
  1227.     (This)->lpVtbl -> Release(This)
  1228.  
  1229.  
  1230. #define IPrint_SetInitialPageNum(This,nFirstPage)    \
  1231.     (This)->lpVtbl -> SetInitialPageNum(This,nFirstPage)
  1232.  
  1233. #define IPrint_GetPageInfo(This,pnFirstPage,pcPages)    \
  1234.     (This)->lpVtbl -> GetPageInfo(This,pnFirstPage,pcPages)
  1235.  
  1236. #define IPrint_Print(This,grfFlags,pptd,ppPageSet,pstgmOptions,pcallback,nFirstPage,pcPagesPrinted,pnLastPage)    \
  1237.     (This)->lpVtbl -> Print(This,grfFlags,pptd,ppPageSet,pstgmOptions,pcallback,nFirstPage,pcPagesPrinted,pnLastPage)
  1238.  
  1239. #endif /* COBJMACROS */
  1240.  
  1241.  
  1242. #endif     /* C style interface */
  1243.  
  1244.  
  1245.  
  1246. HRESULT __stdcall IPrint_SetInitialPageNum_Proxy( 
  1247.     IPrint __RPC_FAR * This,
  1248.     /* [in] */ LONG nFirstPage);
  1249.  
  1250.  
  1251. void __RPC_STUB IPrint_SetInitialPageNum_Stub(
  1252.     IRpcStubBuffer *This,
  1253.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1254.     PRPC_MESSAGE _pRpcMessage,
  1255.     DWORD *_pdwStubPhase);
  1256.  
  1257.  
  1258. HRESULT __stdcall IPrint_GetPageInfo_Proxy( 
  1259.     IPrint __RPC_FAR * This,
  1260.     /* [out] */ LONG __RPC_FAR *pnFirstPage,
  1261.     /* [out] */ LONG __RPC_FAR *pcPages);
  1262.  
  1263.  
  1264. void __RPC_STUB IPrint_GetPageInfo_Stub(
  1265.     IRpcStubBuffer *This,
  1266.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1267.     PRPC_MESSAGE _pRpcMessage,
  1268.     DWORD *_pdwStubPhase);
  1269.  
  1270.  
  1271. /* [call_as] */ HRESULT __stdcall IPrint_RemotePrint_Proxy( 
  1272.     IPrint __RPC_FAR * This,
  1273.     /* [in] */ DWORD grfFlags,
  1274.     /* [out][in] */ DVTARGETDEVICE __RPC_FAR *__RPC_FAR *pptd,
  1275.     /* [out][in] */ PAGESET __RPC_FAR *__RPC_FAR *pppageset,
  1276.     /* [unique][out][in] */ RemSTGMEDIUM __RPC_FAR *pstgmOptions,
  1277.     /* [in] */ IContinueCallback __RPC_FAR *pcallback,
  1278.     /* [in] */ LONG nFirstPage,
  1279.     /* [out] */ LONG __RPC_FAR *pcPagesPrinted,
  1280.     /* [out] */ LONG __RPC_FAR *pnLastPage);
  1281.  
  1282.  
  1283. void __RPC_STUB IPrint_RemotePrint_Stub(
  1284.     IRpcStubBuffer *This,
  1285.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1286.     PRPC_MESSAGE _pRpcMessage,
  1287.     DWORD *_pdwStubPhase);
  1288.  
  1289.  
  1290.  
  1291. #endif     /* __IPrint_INTERFACE_DEFINED__ */
  1292.  
  1293.  
  1294. /****************************************
  1295.  * Generated header for interface: __MIDL__intf_0082
  1296.  * at Mon Dec 04 18:29:03 1995
  1297.  * using MIDL 2.00.0102
  1298.  ****************************************/
  1299. /* [local] */ 
  1300.  
  1301.  
  1302. #endif
  1303. #ifndef _LPOLECOMMANDTARGET_DEFINED
  1304. #define _LPOLECOMMANDTARGET_DEFINED
  1305.  
  1306.  
  1307. extern RPC_IF_HANDLE __MIDL__intf_0082_v0_0_c_ifspec;
  1308. extern RPC_IF_HANDLE __MIDL__intf_0082_v0_0_s_ifspec;
  1309.  
  1310. #ifndef __IOleCommandTarget_INTERFACE_DEFINED__
  1311. #define __IOleCommandTarget_INTERFACE_DEFINED__
  1312.  
  1313. /****************************************
  1314.  * Generated header for interface: IOleCommandTarget
  1315.  * at Mon Dec 04 18:29:03 1995
  1316.  * using MIDL 2.00.0102
  1317.  ****************************************/
  1318. /* [unique][uuid][object] */ 
  1319.  
  1320.  
  1321.             /* size is 4 */
  1322. typedef /* [unique] */ IOleCommandTarget __RPC_FAR *LPOLECOMMANDTARGET;
  1323.  
  1324.             /* size is 4 */
  1325. typedef 
  1326. enum __MIDL_IOleCommandTarget_0001
  1327.     {    OLECMDF_SUPPORTED    = 0x1,
  1328.     OLECMDF_ENABLED    = 0x2,
  1329.     OLECMDF_LATCHED    = 0x4,
  1330.     OLECMDF_NINCHED    = 0x8
  1331.     }    OLECMDF;
  1332.  
  1333.             /* size is 8 */
  1334. typedef struct  _tagOLECMD
  1335.     {
  1336.     ULONG cmdID;
  1337.     DWORD cmdf;
  1338.     }    OLECMD;
  1339.  
  1340.             /* size is 12 */
  1341. typedef struct  _tagOLECMDTEXT
  1342.     {
  1343.     DWORD cmdtextf;
  1344.     ULONG cwActual;
  1345.     ULONG cwBuf;
  1346.     /* [size_is] */ wchar_t rgwz[ 1 ];
  1347.     }    OLECMDTEXT;
  1348.  
  1349.             /* size is 4 */
  1350. typedef 
  1351. enum __MIDL_IOleCommandTarget_0002
  1352.     {    OLECMDTEXTF_NONE    = 0,
  1353.     OLECMDTEXTF_NAME    = 1,
  1354.     OLECMDTEXTF_STATUS    = 2
  1355.     }    OLECMDTEXTF;
  1356.  
  1357.             /* size is 4 */
  1358. typedef 
  1359. enum __MIDL_IOleCommandTarget_0003
  1360.     {    OLECMDEXECOPT_DODEFAULT    = 0,
  1361.     OLECMDEXECOPT_PROMPTUSER    = 1,
  1362.     OLECMDEXECOPT_DONTPROMPTUSER    = 2,
  1363.     OLECMDEXECOPT_SHOWHELP    = 3
  1364.     }    OLECMDEXECOPT;
  1365.  
  1366.             /* size is 4 */
  1367. typedef 
  1368. enum __MIDL_IOleCommandTarget_0004
  1369.     {    OLECMDID_OPEN    = 1,
  1370.     OLECMDID_NEW    = 2,
  1371.     OLECMDID_SAVE    = 3,
  1372.     OLECMDID_SAVEAS    = 4,
  1373.     OLECMDID_SAVECOPYAS    = 5,
  1374.     OLECMDID_PRINT    = 6,
  1375.     OLECMDID_PRINTPREVIEW    = 7,
  1376.     OLECMDID_PAGESETUP    = 8,
  1377.     OLECMDID_SPELL    = 9,
  1378.     OLECMDID_PROPERTIES    = 10,
  1379.     OLECMDID_CUT    = 11,
  1380.     OLECMDID_COPY    = 12,
  1381.     OLECMDID_PASTE    = 13,
  1382.     OLECMDID_PASTESPECIAL    = 14,
  1383.     OLECMDID_UNDO    = 15,
  1384.     OLECMDID_REDO    = 16,
  1385.     OLECMDID_SELECTALL    = 17,
  1386.     OLECMDID_CLEARSELECTION    = 18,
  1387.     OLECMDID_ZOOM    = 19,
  1388.     OLECMDID_GETZOOMRANGE    = 20
  1389.     }    OLECMDID;
  1390.  
  1391. #define OLECMDERR_E_FIRST         (OLE_E_LAST+1)
  1392. #define OLECMDERR_E_NOTSUPPORTED (OLECMDERR_E_FIRST)
  1393. #define OLECMDERR_E_DISABLED        (OLECMDERR_E_FIRST+1)
  1394. #define OLECMDERR_E_NOHELP        (OLECMDERR_E_FIRST+2)
  1395. #define OLECMDERR_E_CANCELED        (OLECMDERR_E_FIRST+3)
  1396. #define OLECMDERR_E_UNKNOWNGROUP    (OLECMDERR_E_FIRST+4)
  1397.  
  1398. EXTERN_C const IID IID_IOleCommandTarget;
  1399.  
  1400. #if defined(__cplusplus) && !defined(CINTERFACE)
  1401.     
  1402.     interface IOleCommandTarget : public IUnknown
  1403.     {
  1404.     public:
  1405.         virtual /* [input_sync] */ HRESULT __stdcall QueryStatus( 
  1406.             /* [unique][in] */ const GUID __RPC_FAR *pguidCmdGroup,
  1407.             /* [in] */ ULONG cCmds,
  1408.             /* [out][in][size_is] */ OLECMD __RPC_FAR *prgCmds,
  1409.             /* [unique][out][in] */ OLECMDTEXT __RPC_FAR *pCmdText) = 0;
  1410.         
  1411.         virtual HRESULT __stdcall Exec( 
  1412.             /* [unique][in] */ const GUID __RPC_FAR *pguidCmdGroup,
  1413.             /* [in] */ DWORD nCmdID,
  1414.             /* [in] */ DWORD nCmdexecopt,
  1415.             /* [unique][in] */ VARIANTARG __RPC_FAR *pvaIn,
  1416.             /* [unique][out][in] */ VARIANTARG __RPC_FAR *pvaOut) = 0;
  1417.         
  1418.     };
  1419.     
  1420. #else     /* C style interface */
  1421.  
  1422.     typedef struct IOleCommandTargetVtbl
  1423.     {
  1424.         
  1425.         HRESULT ( __stdcall __RPC_FAR *QueryInterface )( 
  1426.             IOleCommandTarget __RPC_FAR * This,
  1427.             /* [in] */ REFIID riid,
  1428.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1429.         
  1430.         ULONG ( __stdcall __RPC_FAR *AddRef )( 
  1431.             IOleCommandTarget __RPC_FAR * This);
  1432.         
  1433.         ULONG ( __stdcall __RPC_FAR *Release )( 
  1434.             IOleCommandTarget __RPC_FAR * This);
  1435.         
  1436.         /* [input_sync] */ HRESULT ( __stdcall __RPC_FAR *QueryStatus )( 
  1437.             IOleCommandTarget __RPC_FAR * This,
  1438.             /* [unique][in] */ const GUID __RPC_FAR *pguidCmdGroup,
  1439.             /* [in] */ ULONG cCmds,
  1440.             /* [out][in][size_is] */ OLECMD __RPC_FAR *prgCmds,
  1441.             /* [unique][out][in] */ OLECMDTEXT __RPC_FAR *pCmdText);
  1442.         
  1443.         HRESULT ( __stdcall __RPC_FAR *Exec )( 
  1444.             IOleCommandTarget __RPC_FAR * This,
  1445.             /* [unique][in] */ const GUID __RPC_FAR *pguidCmdGroup,
  1446.             /* [in] */ DWORD nCmdID,
  1447.             /* [in] */ DWORD nCmdexecopt,
  1448.             /* [unique][in] */ VARIANTARG __RPC_FAR *pvaIn,
  1449.             /* [unique][out][in] */ VARIANTARG __RPC_FAR *pvaOut);
  1450.         
  1451.     } IOleCommandTargetVtbl;
  1452.  
  1453.     interface IOleCommandTarget
  1454.     {
  1455.         CONST_VTBL struct IOleCommandTargetVtbl __RPC_FAR *lpVtbl;
  1456.     };
  1457.  
  1458.     
  1459.  
  1460. #ifdef COBJMACROS
  1461.  
  1462.  
  1463. #define IOleCommandTarget_QueryInterface(This,riid,ppvObject)    \
  1464.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1465.  
  1466. #define IOleCommandTarget_AddRef(This)    \
  1467.     (This)->lpVtbl -> AddRef(This)
  1468.  
  1469. #define IOleCommandTarget_Release(This)    \
  1470.     (This)->lpVtbl -> Release(This)
  1471.  
  1472.  
  1473. #define IOleCommandTarget_QueryStatus(This,pguidCmdGroup,cCmds,prgCmds,pCmdText)    \
  1474.     (This)->lpVtbl -> QueryStatus(This,pguidCmdGroup,cCmds,prgCmds,pCmdText)
  1475.  
  1476. #define IOleCommandTarget_Exec(This,pguidCmdGroup,nCmdID,nCmdexecopt,pvaIn,pvaOut)    \
  1477.     (This)->lpVtbl -> Exec(This,pguidCmdGroup,nCmdID,nCmdexecopt,pvaIn,pvaOut)
  1478.  
  1479. #endif /* COBJMACROS */
  1480.  
  1481.  
  1482. #endif     /* C style interface */
  1483.  
  1484.  
  1485.  
  1486. /* [input_sync] */ HRESULT __stdcall IOleCommandTarget_QueryStatus_Proxy( 
  1487.     IOleCommandTarget __RPC_FAR * This,
  1488.     /* [unique][in] */ const GUID __RPC_FAR *pguidCmdGroup,
  1489.     /* [in] */ ULONG cCmds,
  1490.     /* [out][in][size_is] */ OLECMD __RPC_FAR *prgCmds,
  1491.     /* [unique][out][in] */ OLECMDTEXT __RPC_FAR *pCmdText);
  1492.  
  1493.  
  1494. void __RPC_STUB IOleCommandTarget_QueryStatus_Stub(
  1495.     IRpcStubBuffer *This,
  1496.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1497.     PRPC_MESSAGE _pRpcMessage,
  1498.     DWORD *_pdwStubPhase);
  1499.  
  1500.  
  1501. HRESULT __stdcall IOleCommandTarget_Exec_Proxy( 
  1502.     IOleCommandTarget __RPC_FAR * This,
  1503.     /* [unique][in] */ const GUID __RPC_FAR *pguidCmdGroup,
  1504.     /* [in] */ DWORD nCmdID,
  1505.     /* [in] */ DWORD nCmdexecopt,
  1506.     /* [unique][in] */ VARIANTARG __RPC_FAR *pvaIn,
  1507.     /* [unique][out][in] */ VARIANTARG __RPC_FAR *pvaOut);
  1508.  
  1509.  
  1510. void __RPC_STUB IOleCommandTarget_Exec_Stub(
  1511.     IRpcStubBuffer *This,
  1512.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1513.     PRPC_MESSAGE _pRpcMessage,
  1514.     DWORD *_pdwStubPhase);
  1515.  
  1516.  
  1517.  
  1518. #endif     /* __IOleCommandTarget_INTERFACE_DEFINED__ */
  1519.  
  1520.  
  1521. /****************************************
  1522.  * Generated header for interface: __MIDL__intf_0083
  1523.  * at Mon Dec 04 18:29:03 1995
  1524.  * using MIDL 2.00.0102
  1525.  ****************************************/
  1526. /* [local] */ 
  1527.  
  1528.  
  1529. #endif
  1530.  
  1531. ////////////////////////////////////////////////////////////////////////////
  1532. //  Aliases to original office-compatible names
  1533. #define IMsoDocument             IOleDocument
  1534. #define IMsoDocumentSite         IOleDocumentSite
  1535. #define IMsoView                 IOleDocumentView
  1536. #define IEnumMsoView             IEnumOleDocumentViews
  1537. #define IMsoCommandTarget        IOleCommandTarget
  1538. #define LPMSODOCUMENT            LPOLEDOCUMENT
  1539. #define LPMSODOCUMENTSITE        LPOLEDOCUMENTSITE
  1540. #define LPMSOVIEW                LPOLEDOCUMENTVIEW
  1541. #define LPENUMMSOVIEW            LPENUMOLEDOCUMENTVIEWS
  1542. #define LPMSOCOMMANDTARGET       LPOLECOMMANDTARGET
  1543. #define MSOCMD                   OLECMD
  1544. #define MSOCMDTEXT               OLECMDTEXT
  1545. #define IID_IMsoDocument         IID_IOleDocument
  1546. #define IID_IMsoDocumentSite     IID_IOleDocumentSite
  1547. #define IID_IMsoView             IID_IOleDocumentView
  1548. #define IID_IEnumMsoView         IID_IEnumOleDocumentViews
  1549. #define IID_IMsoCommandTarget    IID_IOleCommandTarget
  1550.  
  1551.  
  1552. extern RPC_IF_HANDLE __MIDL__intf_0083_v0_0_c_ifspec;
  1553. extern RPC_IF_HANDLE __MIDL__intf_0083_v0_0_s_ifspec;
  1554.  
  1555. /* Additional Prototypes for ALL interfaces */
  1556.  
  1557. /* [local] */ HRESULT __stdcall IEnumOleDocumentViews_Next_Proxy( 
  1558.     IEnumOleDocumentViews __RPC_FAR * This,
  1559.     /* [in] */ ULONG cViews,
  1560.     /* [out] */ IOleDocumentView __RPC_FAR *__RPC_FAR *rgpView,
  1561.     /* [out] */ ULONG __RPC_FAR *pcFetched);
  1562.  
  1563.  
  1564. /* [call_as] */ HRESULT __stdcall IEnumOleDocumentViews_Next_Stub( 
  1565.     IEnumOleDocumentViews __RPC_FAR * This,
  1566.     /* [in] */ ULONG cViews,
  1567.     /* [length_is][size_is][out] */ IOleDocumentView __RPC_FAR *__RPC_FAR *rgpView,
  1568.     /* [out] */ ULONG __RPC_FAR *pcFetched);
  1569.  
  1570. /* [local] */ HRESULT __stdcall IPrint_Print_Proxy( 
  1571.     IPrint __RPC_FAR * This,
  1572.     /* [in] */ DWORD grfFlags,
  1573.     /* [out][in] */ DVTARGETDEVICE __RPC_FAR *__RPC_FAR *pptd,
  1574.     /* [out][in] */ PAGESET __RPC_FAR *__RPC_FAR *ppPageSet,
  1575.     /* [unique][out][in] */ STGMEDIUM __RPC_FAR *pstgmOptions,
  1576.     /* [in] */ IContinueCallback __RPC_FAR *pcallback,
  1577.     /* [in] */ LONG nFirstPage,
  1578.     /* [out] */ LONG __RPC_FAR *pcPagesPrinted,
  1579.     /* [out] */ LONG __RPC_FAR *pnLastPage);
  1580.  
  1581.  
  1582. /* [call_as] */ HRESULT __stdcall IPrint_Print_Stub( 
  1583.     IPrint __RPC_FAR * This,
  1584.     /* [in] */ DWORD grfFlags,
  1585.     /* [out][in] */ DVTARGETDEVICE __RPC_FAR *__RPC_FAR *pptd,
  1586.     /* [out][in] */ PAGESET __RPC_FAR *__RPC_FAR *pppageset,
  1587.     /* [unique][out][in] */ RemSTGMEDIUM __RPC_FAR *pstgmOptions,
  1588.     /* [in] */ IContinueCallback __RPC_FAR *pcallback,
  1589.     /* [in] */ LONG nFirstPage,
  1590.     /* [out] */ LONG __RPC_FAR *pcPagesPrinted,
  1591.     /* [out] */ LONG __RPC_FAR *pnLastPage);
  1592.  
  1593.  
  1594.  
  1595. /* end of Additional Prototypes */
  1596.  
  1597. #ifdef __cplusplus
  1598. }
  1599. #endif
  1600.  
  1601. #endif
  1602.